/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package controller;


import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;

public class LoginServlet extends HttpServlet{
    @Override
  public void doGet(HttpServletRequest request, HttpServletResponse response)
                                       throws ServletException, IOException {
    response.setContentType("text/html");{
      ServletOutputStream  out = response.getOutputStream();
      try {
        out.println("<html><head><title>" +  "</title></head>");
        out.println("<body><h1>" +  "</h1>");
        String  Email = request.getParameter("email" );
        String  Password = request.getParameter("password" );
        out.println("Email:" + Email + "<BR>");
        out.println("Password:" + Password + "<BR>");
       
      }
      
      catch(Throwable  t ) {
        out.println("<P><pre>");
        t.printStackTrace( new PrintStream(out) );
        out.println ("</pre><P>");
      }
      out.println ("</body></html>");
    }
  }
}